 #pragma once

#include "cTexture.h"
#include "Globals.h"
#ifndef CDATA_H
#define	CDATA_H


class cData:map<string, cTexture*>{
public:
    cData(void);
    ~cData(void);
    cTexture* loadImage(string &filename, int type = GL_RGBA,
                        int wraps = GL_REPEAT, int wrapt = GL_REPEAT,
                        int magf = GL_NEAREST, int minf = GL_NEAREST,
                        bool mipmap = false);
    cTexture* loadImage(const char*filename, int type = GL_RGBA,
                        int wraps = GL_REPEAT, int wrapt = GL_REPEAT,
                        int magf = GL_NEAREST, int minf = GL_NEAREST,
                        bool mipmap = false);
private:
};

#endif //CDATA_H